home *** CD-ROM | disk | FTP | other *** search
- Path: news.cis.okstate.edu!usenet
- From: Jim Dugger <jdugger@okstate.edu>
- Newsgroups: comp.lang.c++
- Subject: Re: Large buffers and "new"?
- Date: Mon, 26 Feb 1996 15:23:42 -0600
- Organization: Oklahoma State University
- Message-ID: <313224DE.124D@okstate.edu>
- References: <4gsr20$sho@newsbf02.news.aol.com>
- NNTP-Posting-Host: bedrock.teubner.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB1 (WinNT; I)
-
- HAfshar wrote:
- >
- > Hi everyone,
- >
- > Does anyone know if you can ( or how to) use "new" to allocate a buffer
- > larger than 64k?
- >
- > Thanks,
- >
- > Harry
-
- Easy,
-
- char* tmp = new char [ 65536 ];
-
- <grin>
-